<script setup>
import router from '../router'
function toHome() {
    router.push('/')
}
function toOrder() {
    router.push('/order')
}
</script>
<template>
    <van-nav-bar title="支付完成" />
    <van-icon name="after-sale" size="60" style="margin-left: 42%;margin-top: 40%;" />
    <div style="margin-left: 41%;">支付成功</div>
    <div style="margin-top: 20%;margin-left: 26%;">
        <van-button type="primary" style="margin-right: 10px;" @click="toHome()">返回首页</van-button>
        <van-button type="success" style="margin-left: 10px;" @click="toOrder()">查看订单</van-button>
    </div>

</template>